<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-07-08
 * Time: 14:47
 */

namespace app\api\validate;


class CheckPhone extends BaseValidate
{
    protected $rule = [
        'password' => 'require|max:50',
        'phone' => 'require|mobile',
    ];

    protected $message = [
        'password' => '请输入密码且长度不大于50',
        'phone' => '请输入正确格式的手机号',
    ];
}